<?php


foreach ($tricksTypes as $trickType => $multiples){
    foreach ($multiples as $multiple => $tricks){
        echo '<div class="autoComplete">';
        foreach ($tricks as $trickId => $trick){
            echo '<div class="item" id="tricks_id:'.$trickId.'">'.$this->Display->trick($trickType, $multiple, $trick['spin']).'</div>';
        }
        echo '</div>';
    }
    
}

?>
